package com.summer.data.connection;

/**
 * 事务中心
 * 
 * @author ydfqy
 */

public class SessionCenter {

    private static SessionFactory sessionFactory;

    public static void setSessionFactory(SessionFactory sessionFactory) {
        SessionCenter.sessionFactory = sessionFactory;
    }

    public static SessionFactory getSessionFactory() {
        return sessionFactory;
    }

}
